﻿using System;
class SignOfProduct
{
    static void Main()
    {
        int numberone;
        int numbertwo;
        int numberthree;
        Console.WriteLine("Please enter three numbers: ");
        while (true)
        {
            try
            {
                numberone = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception)
            {
                Console.Write("Please re-enter first number:");
            }
        }
        while (true)
        {
            try
            {
                numbertwo = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception)
            {
                Console.Write("Please re-enter second number:");
            }
        }
        while (true)
        {
            try
            {
                numberthree = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception)
            {
                Console.Write("Please re-enter third number:");
            }
        }
        Console.WriteLine("{0}, {1}, {2}", numberone, numbertwo, numberthree);
        Console.ReadLine();
        if ((numberone != 0) && (numbertwo != 0) && (numberthree != 0))
        {

            if ((numberone * numbertwo * numberthree) < 0)
            {
                Console.WriteLine("the sign is - ");
            }
            else
            {
                Console.WriteLine("the sign is + ");
            }
        }
        else
        {
            Console.WriteLine("the product is = 0");
        }
        Console.ReadLine();
    }
}

